/**
 * <pre>
 * Title: 		ResponseMessage.java
 * Project: 	MSRNS
 * Author:		linriqing
 * Create:	 	2013-11-5 上午09:37:11
 * Copyright: 	Copyright (c) 2013
 * Company:		Shenzhen Helper
 * <pre>
 */
package com.hengpeng.itfin.sms.vo;

/**
 * <pre>
 * 响应消息基类
 * </pre>
 * @author linriqing
 * @version 1.0, 2013-11-5
 */
public class HttpResponseMessage extends TransMessage
{
	private static final long serialVersionUID = 4401375411894467691L;

	private String code = ResponseCode.SUCCESS.getCode();

	private String message = "系统处理正常";

	public HttpResponseMessage(HttpRequestMessage message)
	{
		super();
		this.setId(message.getId());
	}

	/**
	 * @return 响应码
	 */
	public String getCode()
	{
		return code;
	}

	/**
	 * @return 响应描述
	 */
	public String getMessage()
	{
		return message;
	}

	/**
	 * @param code 响应码
	 */
	public void setCode(String code)
	{
		this.code = code;
	}

	/**
	 * @param message 响应描述
	 */
	public void setMessage(String message)
	{
		this.message = message;
	}
}
